Rebase use-unicode-data.patch
authorMo Zhou <cdluminate@gmail.com>
Wed, 21 Aug 2019 14:35:01 +0000 (14:35 +0000)
committerMo Zhou <cdluminate@gmail.com>
Wed, 21 Aug 2019 14:35:01 +0000 (14:35 +0000)
debian/patches/use-unicode-data.patch

index fcae2a1cb18bbe5e866fc303e009a7e3dcc502ff..b877853b78a76807c8712b6698c07eff78d3b375 100644 (file)
@@ -10,8 +10,8 @@ Index: utf8proc/data/Makefile
 ===================================================================
 --- utf8proc.orig/data/Makefile
 +++ utf8proc/data/Makefile
-@@ -25,31 +25,31 @@ CharWidths.txt: charwidths.jl EastAsianW
- UNICODE_VERSION=12.0.0
+@@ -28,31 +28,31 @@ UNICODE_VERSION=12.1.0
+ UNICODE_EMOJI_VERSION=12.0
  
  UnicodeData.txt:
 -      $(CURL) $(CURLFLAGS) -o $@ -O http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/UnicodeData.txt
@@ -46,7 +46,7 @@ Index: utf8proc/data/Makefile
 +      $(PERL) -pe 's,÷,/,g;s,×,+,g' < /usr/share/unicode/auxiliary/GraphemeBreakTest.txt > $@
  
  emoji-data.txt:
--      $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://unicode.org/Public/emoji/`echo $(UNICODE_VERSION) | cut -d. -f1-2`/emoji-data.txt
+-      $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://unicode.org/Public/emoji/$(UNICODE_EMOJI_VERSION)/emoji-data.txt
 +      cp /usr/share/unicode/emoji/emoji-data.txt $@
  
  clean: